package com.my.zuji.controller.form;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;


public class LoginForm {
	@Size(min = 2, max = 12,message="用户个数必须在2到12之间 ")
	@NotNull
	private String userName;
	@Size(min = 6, max = 16,message="密码个数必须在6到16之间 ")
	@NotNull
	private String password;
	private String captcha;

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getCaptcha() {
		return captcha;
	}

	public void setCaptcha(String captcha) {
		this.captcha = captcha;
	}
}
